<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>css登录页面</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }
        body{

        background: url("img/register_bg.png") no-repeat;
        }
         .rg{
           width: 900px;
             height: 500px;
             border: 1px solid gray;
             background-color: white;
             margin: auto;
             margin-left: 360px;
             margin-top: 120px;
        }
        .rg_left{

            float: left;
            margin: 20px;
        }
        .rg_center{

            float: left;
            margin-left: 50px;
             margin-top: 50px;
        }
        .rg_right{

            float: right;
            margin: 20px;
        }
        .rg_left>p:first-child{
            color: yellow;
        }
        .rg_left>p:last-child{
            color: gray;
        }
        .rg_right > p:first-child {
            font-size: 15px;
        }

        .rg_right p a {
            color: pink;
        }
        .td_left{
           width: 100px;
            text-align: right;
            height: 40px;
        }
        .td_right{
           padding-left: 50px;
        }
          #username,#tel,#name,#Email,#password,#birthday,#checkcode{
              width: 230px;
              height:30px;
              border-radius: 5px;
              border: 1px  solid gray ;
              padding-left: 15px;
          }
        #checkcode{
            width: 130px;
        }
        #img{
           width: 80px;
            height:30px;
            vertical-align: middle;
        }
        #rg_button{
             width: 90px;
            height: 30px;
            background-color: yellow;
            border: 1px solid yellow;
        }

    </style>
</head>
<body>
<div  class="rg">
    <div  class="rg_left">
        <P>新用户注册</P>
        <P>USER REGISTER</P>
    </div>
    <div class="rg_center">  <form action="#"  method="post">
        <table   >
            <tr>
                <td class="td_left"><lab for="username">用户名</lab></td>
                <td class="td_right"><input type="text" name="username" id="username" placeholder="请输入用户名"></td>
            </tr>
            <tr>
                <td class="td_left"><lab for="passwor">密码</lab></td>
                <td class="td_right"><input type="password" name="password" id="password" placeholder="请输入密码"></td>
            </tr>
            <tr>
                <td class="td_left"><lab for="Email">Email</lab></td>
                <td class="td_right"><input type="Email" name="Email" id="Email" placeholder="请输入邮箱地址"></td>
            </tr>
            <tr>
                <td class="td_left"><lab for="name">姓名</lab></td>
                <td class="td_right"><input type="text" name="name" id="name" placeholder="请输入姓名"></td>
            </tr>
            <tr>
                <td class="td_left"><lab for="tel">手机号</lab></td>
                <td class="td_right"> <input type="text" name="tel" id="tel" placeholder="请输入手机号"></td>
            </tr>
            <tr>
                <td class="td_left">性别</td>
                <td class="td_right"><input type="radio" name="gender" value="male" placeholder="请输入性别">男
                    <input type="radio" name="gender"  value=female  placeholder="请输入性别">女</td>
            </tr>
            <tr>
                <td class="td_left"><lab for="birthday">出生日期</lab></td>
                <td class="td_right"><input type="date" name="birthday" id="birthday" placeholder="请输入出生日期"></td>
            </tr>
            <tr>
                <td class="td_left"><lab for="checkcode">验证码</lab></td>
                <td class="td_right"><input type="text" name="checkcode" id="checkcode" placeholder="请输入验证码"><img src="img/verify_code.jpg" id="img"/></td>

            </tr>
            <tr>
                <td  colspan="2" align="center"><input type="submit" value="注册" id="rg_button"></td>

            </tr>


        </table>

    </form> </div>
    <div class="rg_right">
        <p>已有账号？<a href="#">立即登录</a></p>
    </div>

</div>
</body>
</html>